package d1_com.itheima.properties;

import java.io.FileWriter;
import java.util.Properties;

public class Test2 {
    public static void main(String[] args) throws Exception {
        Properties properties = new Properties();
        properties.setProperty("张无忌", "minmin");
        properties.setProperty("殷素素", "cuishan");
        properties.setProperty("张翠山", "susu");

        properties.store(new FileWriter("oop-app9\\src\\d1_com\\itheima\\properties\\user.properties"), "这是注释信息:");
    }
}
